package deletePhoto;

public class PathModel {
	public String path;
	public String md5;

	public PathModel(String path, String md5) {
		this.path = path;
		this.md5 = md5;
	}

	public String getPath() {
		return path;
	}

	public void setFile(String path) {
		this.path = path;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public String getPathAndMd5() {
		String str = path;
		return str;
	}
	
	public String getpartPath(String Pathclient) {
		String str = path;
		String sub="";
		sub=str.replace(Pathclient, "");
		return sub;
	}

	public boolean equals(Object obj) {
		PathModel pm = (PathModel) obj;
		return md5.equals(pm.md5);
	}
}
